<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>文章列表--layui后台管理模板 2.0</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="/layui/css/layui.css" media="all" />
	<link rel="stylesheet" href="/css/public.css" media="all" />
	<style>
		.w-e-text-container{
			height: 450px !important;/*!important是重点，因为原div是行内样式设置的高度300px*/
		}
	</style>
	<script type="text/javascript" src="/js/background/wangEditor.js"></script>
</head>
<body class="childrenBody">
<form class="layui-form layui-row layui-col-space10">
	<div class="layui-col-md9 layui-col-xs12">
		<div class="layui-row layui-col-space10">
			<input type="hidden" id="beanId"/>
			<input type="hidden" id="releaseDate"/>
			<input type="hidden" id="createTime"/>
			<input type="hidden" id="newsAuthor"/>


			<div class="layui-col-md9 layui-col-xs7">
				<div class="layui-form-item magt3">
					<label class="layui-form-label">文章标题</label>
					<div class="layui-input-block">
						<input type="text" class="layui-input newsName" lay-verify="newsName" placeholder="请输入文章标题">
					</div>
				</div>

				<div class="layui-form-item">
					<label class="layui-form-label">内容摘要</label>
					<div class="layui-input-block">
						<textarea placeholder="请输入内容摘要"  onKeyup="if(this.value.length>100){this.value=this.value.slice(0,100)}" class="layui-textarea abstract"></textarea>
					</div>
				</div>

				<div class="layui-form-item magt3">
					<label class="layui-form-label">关键词</label>
					<div class="layui-input-block">
						<input type="text" class="layui-input keyWord" lay-verify="keyWord" placeholder="请输入关键词">
					</div>
				</div>

			</div>
			<div class="layui-col-md3 layui-col-xs7">
				<div class="layui-upload-list thumbBox2 mag0 magt3">
					<img class="layui-upload-img thumbImg2">
				</div>
			
			
			
			</div>
			<!--<div class="layui-col-md3 layui-col-xs5">-->
				<!--<label class="layui-form-label" style="width: 50px;">关键词</label>-->

				<!--&lt;!&ndash;<div class="layui-upload-list thumbBox mag0 magt3">&ndash;&gt;-->
					<!--&lt;!&ndash;<img class="layui-upload-img thumbImg">&ndash;&gt;-->
				<!--&lt;!&ndash;</div>&ndash;&gt;-->
			<!--</div>-->
		</div>
		<div class="layui-form-item magb0">
			<label class="layui-form-label">文章内容</label>
			<div class="layui-input-block" >
				<div id="editor">

				</div>
				<!--<textarea class="layui-textarea layui-hide" name="content" lay-verify="content" id="news_content"></textarea>-->
			</div>
		</div>
	</div>
	<div class="layui-col-md3 layui-col-xs12">
		<blockquote class="layui-elem-quote title"><i class="seraph icon-caidan"></i> 类别目录</blockquote>
		<div class="border category">

			<label class="layui-form-label"><i class="layui-icon">&#xe60e;</i>类　别</label>
			<div class="layui-input-inline" style="width:150px;">
				<select name="server" id="server">
					<option value="">请选择文章类别</option>
				</select>
			</div>


			<!--<div class="">-->
				<!--<p><input type="radio" name="typeId" value="" title="新闻" lay-skin="primary" /></p>-->
				<!--<p><input type="radio" name="typeId" value="" title="商品" lay-skin="primary" /></p>-->
				<!--<p><input type="radio" name="typeId" value="" title="公告" lay-skin="primary" /></p>-->
				<!--<p><input type="radio" name="typeId" value="" title="图片" lay-skin="primary" /></p>-->
			<!--</div>-->
		</div>
		<blockquote class="layui-elem-quote title magt10"><i class="layui-icon">&#xe609;</i> 发布</blockquote>
		<div class="border">
			<div class="layui-form-item">
				<label class="layui-form-label"><i class="layui-icon">&#xe60e;</i> 状　态</label>
				<div class="layui-input-block newsStatus">
					<select name="status" id="status" lay-verify="required">
						<option value="0">保存草稿</option>
						<option value="1">直接发布</option>
					</select>
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label"><i class="layui-icon">&#xe609;</i> 发　布</label>
				<div class="layui-input-block">
					<input type="radio" name="release" title="立即发布" lay-skin="primary" lay-filter="release" checked />
					<input type="radio" name="release" title="定时发布" lay-skin="primary" lay-filter="release" />
				</div>
			</div>
			<div class="layui-form-item layui-hide releaseDate">
				<label class="layui-form-label"></label>
				<div class="layui-input-block">
					<input type="text" class="layui-input" id="release" placeholder="请选择日期和时间" readonly />
				</div>
			</div>
			<div class="layui-form-item openness">
				<label class="layui-form-label"><i class="seraph icon-look"></i> 公开度</label>
				<div class="layui-input-block">
					<input type="radio" name="openness" title="开放浏览" value="true" lay-skin="primary" checked />
					<input type="radio" name="openness" title="私密浏览" value="false" lay-skin="primary" />
				</div>
			</div>
			<div class="layui-form-item newsTop">
				<label class="layui-form-label"><i class="iconfont icon-zhiding1"></i> 置　顶</label>
				<div class="layui-input-block">
					<input type="checkbox" name="newsTop" value="true"  dis-value="false" lay-skin="switch"  lay-text="是|否">
				</div>
			</div>
			<hr class="layui-bg-gray" />
			<div class="layui-right">
				<a class="layui-btn layui-btn-sm" lay-filter="addNews" lay-submit><i class="layui-icon">&#xe609;</i>发布</a>
				<a class="layui-btn layui-btn-primary layui-btn-sm" lay-filter="look" lay-submit>预览</a>
			</div>
		</div>
	</div>
</form>
<script type="text/javascript" src="/js/axios/0.17.1/axios.min.js"></script>
<script type="text/javascript" src="/layui/layui.js"></script>
<script type="text/javascript" src="/js/background/newsAdd.js"></script>
<script type="text/javascript">



</script>


</body>
</html>